# DeepSeek deployment ***Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.*** --- This document demonstrates how to deploy **DeepSeek** locally on the **Quectel Pi H1** smart single-board computer. **DeepSeek** is a high-performance open-source large language model developed by a Chinese team. It features powerful natural language understanding, code generation, and logical reasoning capabilities. It can efficiently run in a local environment and is suitable for a variety of scenarios such as intelligent Q&A, text generation, and code assistance. # **Prerequisites** 1.The **Quectel Pi H1** Debian system has been successfully flashed and booted. 2.The system can access the Internet normally. # Update software sources Run the following commands in the terminal: ```plaintext sudo apt update sudo apt upgrade ``` > Before installing any software, it is recommended to update the system software packages to ensure that all dependencies are up to date. ```{image} images/image_ONSabFOSHorY0ExGotZcoPa4nLf.webp :width: 557px :height: 90px ``` # Install basic tools ```plaintext sudo apt install curl ``` > `curl` is a commonly used command-line download tool, which will be used later during the Ollama installation. > If the system indicates that `curl` is already installed, you can skip this step. ```{image} images/image_KSzDbf0alopGMMxLiHDcsJPlnAf.webp :width: 526px :height: 81px ``` # Install Ollama Ollama is a lightweight model runtime environment that allows you to deploy and run various open-source models locally. Run the following command in the terminal: ```plaintext curl -fsSL https://ollama.com/install.sh | sh ``` ```{image} images/image_H05ibdrfNoQp1SxF8Z6cVG70njh.webp :width: 885px :height: 255px ``` # Start Ollama service Ollama needs to run a background server process to manage models. Open a terminal and execute the command: ```plaintext ollama serve ``` > Please keep this terminal window open. # Run DeepSeek model Open **another terminal window** and run the following command to pull and start the **DeepSeek-R1 1.5B** model: ```plaintext ollama run deepseek-r1:1.5b ``` ```{image} images/image_Bs8lbcPDbotsKhxt7ZmcQmr2nOf.webp :width: 658px :height: 223px ``` You can enter a text for a conversation in the highlighted area, for example: ```{image} images/image_CUMlbhqY6oqFELxz27cc9gxHnBh.webp :width: 649px :height: 161px ```